package com.sevens.service;

import java.util.List;

import com.sevens.vo.News;
import com.sevens.vo.User;

public interface UserService {
	public User checkUser(String username,String password);	
	public String queryPasswordByUseremail(String useremail);
	public boolean editUser(User user, String repassword);
	
	public boolean saveUser(User user);
	public List<User> queryUser(User user);

	public boolean edit(User user);
	public boolean deleteUserById(int checkedUserId);
	public User queryUserById(int checkedUserId);
	public List<User> queryAllUser();
	public String queryRoles(int userId);
	public String updateUserRole(int userId,String roleIds);
	public User queryUserByName(String name);
	public String queryPermissions(int userId);
}
